package com.southwind.servise;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.southwind.entity.Goods;
import com.southwind.mdao.GoodsMapper;

@Service
public class GoodsService {
@Autowired
GoodsMapper mapper;
//根据id查询good（商品） 和被谁购买customer 
	public Goods findById(long id) {
		return mapper.findById(id);
		
	}
}
